Skip to content

fix: always store elemental.cattle.io/os.unmanaged regardless of labe… - #1025

Draft
aeltai wants to merge 1 commit into
rancher:mainfrom
aeltai:fix-store-elemental-os-unmanaged-no-labelprefix
Draft

fix: always store elemental.cattle.io/os.unmanaged regardless of labe…#1025
aeltai wants to merge 1 commit into
rancher:mainfrom
aeltai:fix-store-elemental-os-unmanaged-no-labelprefix

Conversation

@aeltai

@aeltai aeltai commented Aug 19, 2026

Copy link
Copy Markdown

…lPrefix

The os.unmanaged annotation is an operator-internal signal used by the reset controller. It must always be stored under the well-known elemental.cattle.io/os.unmanaged key, independent of MachineRegistration labelPrefix. Previously, labelPrefix: "-" would store it as plain "os.unmanaged", causing the reset controller to issue the wrong (toolkit) reset plan.

Fixes: #1023

…lPrefix

The os.unmanaged annotation is an operator-internal signal used by the
reset controller. It must always be stored under the well-known
elemental.cattle.io/os.unmanaged key, independent of MachineRegistration
labelPrefix. Previously, labelPrefix: "-" would store it as plain
"os.unmanaged", causing the reset controller to issue the wrong
(toolkit) reset plan.

Fixes: rancher#1023
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

labelPrefix: "-" breaks unmanaged reset: deleting MachineInventory does not re-register

1 participant